package com.wanda.common;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author sky
 * @date 2022-08-26
 */

@AllArgsConstructor
@NoArgsConstructor
public enum  ResponseEnum {
    SUCCESS("200","您好，操作成功"),
    CITY_NOT_FOUND("101","对不起，您输入的城市不存在"),
    MOVIE_NOT_FOUND("102","对不起，未找到相关影片，请您重新输入"),
    SCREEN_NOT_FOUNT("103","对不起，该影片近期无排片"),
    BUY_TICKET_FAILURE("104","对不起，当前座位已经被购买"),
    SYSTEM_ERROR("500","发生未知错误，请联系管理员");
    private String code;
    private String message;



    public String getCode(){
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
